;(function(){
	$('a.panel-collapse').click(function() {
    $(this).children().toggleClass("fa-chevron-down fa-chevron-up");
    $(this).closest(".panel-heading").next().slideToggle({duration: 200});
    $(this).closest(".panel-heading").toggleClass('rounded-bottom');
    return false;
});
	  $.post(
	  	"/admin/reportForm/getData",
	  	function(data){
	  		 $("#brandcount").text(data.data.brandcount);
	  		 $("#shopcount").text(data.data.shopcount);
	  		 $("#crashsuccesscount").text(data.data.crashsuccesscount);
	  		 $("#crasherrorcount").text(data.data.crasherrorcount);
	  		 $("#membercount").text(data.data.membercount);
	  		 $("#staffcount").text(data.data.staffcount);
	  		 $("#tempcount").text(data.data.tempcount);
	  		 $("#logincount").text(data.data.logincount);
	  	},
	  	"json"
	  );
})()

